﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace Intel_Client_GUI
{
	public class PluginProxy
	{
        public PluginProxy(PluginManager pm)
        {
            this.pm = pm;
        }
        public delegate void TimeScaleSetterCallBack(DateTime start,TimeSpan duration);
        public void RegTimeReciever(IPlugin plugin, TimeScaleSetterCallBack tssc)
        {
            pm.RegTimeCall(plugin, tssc);
        }
        public DataBaseWrap DbWrap
        {
            get { return Globle.DbWrap; }
        }
        private PluginManager pm;
	}
}